package com.zlb.knifecommon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZLB
 * @since 2021-04-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
//@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
public class BabyWxUser extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 微信昵称
     */
    private String name;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 头像
     */
    private String icon;

    /**
     * 唯一码
     */
    private String openId;

    /**
     * 权限码
     */
    private String sessionKey;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 最后登陆时间
     */
    private LocalDateTime loginTime;

    /**
     * 锁定标识
     */
    private Integer locked;


}
